package cn.beyond.vehicleManagement.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * 出行记录表
 */
public class DispatchVehicle  implements Serializable {
    private Integer id;//序号
    private Integer vehicle_id;//车辆Id
    private Integer driver_Id;//驾驶员Id
    private Date dispatch_date;//出行时间
    private String companies;//同行人
    private String dispatch_reason;//出行缘由
    private Double cash_pledge;//押金
    private Date predict_back_date;//预计还车时间
    private Integer operator;//经办人
    private String remark;//备注

    public DispatchVehicle() {
    }

    public DispatchVehicle(Integer id, Integer vehicle_id, Integer driver_Id, Date dispatch_date, String companies, String dispatch_reason, Double cash_pledge, Date predict_back_date, Integer operator, String remark) {
        this.id = id;
        this.vehicle_id = vehicle_id;
        this.driver_Id = driver_Id;
        this.dispatch_date = dispatch_date;
        this.companies = companies;
        this.dispatch_reason = dispatch_reason;
        this.cash_pledge = cash_pledge;
        this.predict_back_date = predict_back_date;
        this.operator = operator;
        this.remark = remark;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getVehicle_id() {
        return vehicle_id;
    }

    public void setVehicle_id(Integer vehicle_id) {
        this.vehicle_id = vehicle_id;
    }

    public Integer getDriver_Id() {
        return driver_Id;
    }

    public void setDriver_Id(Integer driver_Id) {
        this.driver_Id = driver_Id;
    }

    public Date getDispatch_date() {
        return dispatch_date;
    }

    public void setDispatch_date(Date dispatch_date) {
        this.dispatch_date = dispatch_date;
    }

    public String getCompanies() {
        return companies;
    }

    public void setCompanies(String companies) {
        this.companies = companies;
    }

    public String getDispatch_reason() {
        return dispatch_reason;
    }

    public void setDispatch_reason(String dispatch_reason) {
        this.dispatch_reason = dispatch_reason;
    }

    public Double getCash_pledge() {
        return cash_pledge;
    }

    public void setCash_pledge(Double cash_pledge) {
        this.cash_pledge = cash_pledge;
    }

    public Date getPredict_back_date() {
        return predict_back_date;
    }

    public void setPredict_back_date(Date predict_back_date) {
        this.predict_back_date = predict_back_date;
    }

    public Integer getOperator() {
        return operator;
    }

    public void setOperator(Integer operator) {
        this.operator = operator;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "DispatchVehicle{" +
                "id=" + id +
                ", vehicle_id=" + vehicle_id +
                ", driver_Id=" + driver_Id +
                ", dispatch_date=" + dispatch_date +
                ", companies='" + companies + '\'' +
                ", dispatch_reason='" + dispatch_reason + '\'' +
                ", cash_pledge=" + cash_pledge +
                ", predict_back_date=" + predict_back_date +
                ", operator=" + operator +
                ", remark='" + remark + '\'' +
                '}';
    }
}
